package cn.org.timespace.ons.dao.base;

import java.util.List;

import cn.org.timespace.ons.action.base.MomModel;
import cn.org.timespace.ons.util.pager.Pager;
import cn.org.timespace.ons.vo.base.Mom;
import cn.org.timespace.ons.vo.base.Options;

public interface MomDao {

	public List<Mom> findByCondition(MomModel model);
	
	public List<Object> findByCondition(MomModel model,Pager p);
	
	public Mom findById(java.lang.String id) ;
	
	public void update(Mom instance);
	
	public void save(Mom transientInstance) ;

	public void delete(Mom persistentInstance) ;
	
	public List<Mom> findCompCodeAndDeviceCode(String deviceCode,String compCode);
	
	public List<Options> findByCode(String code);
	
	
	public List findByName(String name);
	
	
	public List findByTheId(String theId);
}
